<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: LV
  Date: 2016/7/23
  Time: 16:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%--<meta charset="UTF-8">--%>
    <%--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">--%>
    <%--<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />--%>
    <%--<!-- 全屏 -->--%>
    <%--<meta name="apple-mobile-web-app-capable" content="yes" />--%>
    <%--<!-- 上方栏显示 -->--%>
    <%--<meta name="apple-mobile-web-app-status-bar-style" content="black" />--%>
    <%--<!-- 不自动识别号码 -->--%>
    <%--<meta name="format-detection" content="telephone=no">--%>
    <%--<link href="public_skin/css/reset.css" rel="stylesheet">--%>
    <%--<link href="public_skin/css/shop_style.css" rel="stylesheet">--%>
    <%--<script src="../public_skin/js/jquery-1.11.1.min.js" type="text/javascript"></script>--%>
    <%--<script src="public_skin/js/shop.common.js" type="text/javascript"></script>--%>
        <script type="text/javascript">
            function submit_form() {
                $("#address_form").submit();
            }
        </script>
    <title>去发货</title>
</head>
<body>
<%--<header>--%>
    <%--<h1>去发货</h1>--%>
    <%--<a href="javascript:;"></a>--%>
<%--</header>--%>
<article class="viewports">
    <form:form modelAttribute="goodsModel" action="${ctx}/userRefundOrder/savingShippingInformation" method="post" id="address_form">
        <input type="hidden" name="refundOrderId" value="${orderRefund.orderRefundId}"/>
    <form>
    <ul class="imglist01 c3">
        <li class="mb10">
            订单号：${orderRefund.orderRefundNum}(原订单号：${orderRefund.orderNum})
        </li>
        <li class="mb10 c5 cart_bg">
            <div class="layout-box ptb20">
                <div class="mr20">
                    <i class="ico-60 ico_address mt20"></i>
                </div>
                <div class="box-col">
                    <div>收货人：${orderRefund.consigneeName}<span class="r">${orderRefund.consigneePhone}</span></div>
                    <div class="hgt2 mt10">收货地址：${orderRefund.provinceName} ${orderRefund.cityName} ${orderRefund.districtName} ${orderRefund.streetName} ${orderRefund.address} </div>
                </div>
            </div>
        </li>
        <c:forEach items="${orderRefundModel.orderProductsEntityList}" var="product">
        <li class="mb10">
            <div class="layout-box p20 odr_b">
                <div class="ith_img usernane_img140 mr20">
                    <span class="bg_span" style="background-image:url(${product.image});"></span>
                </div>
                <div class="box-col">
                    <h2 class="fs28 hgt2">${product.title} ${product.attribute}</h2>
                    <div class="fs24 mt20 lh1">
                        <span class="c-cb1448">&yen;${product.price}</span>
                        <span class="r ">
                            &times;${product.quantity}
                            </span>
                    </div>
                </div>
            </div>
        </li>
        </c:forEach>
        <li class="mb10 lh1-5">
            <div class="layout-box ptb10">
                <span>快递公司：</span>
                <div class="box-col plr10 odr r5">
                    <input type="text" value="" class="i_text" name="shippingName"/>
                </div>
            </div>
            <form:errors path="shippingName"/>
            <div class="layout-box ptb10">
                <span>快递单号：</span>
                <div class="box-col plr10 odr r5">
                    <input type="text" value="" class="i_text" name="shippingNum"/>
                </div>
            </div>
            <form:errors path="shippingNum"/>
        </li>
    </ul>
    </form>
    </form:form>
    <div class="tac ptb30"><button onclick="submit_form()" class="i_btn b-2db22d cf r5 lh2 plr75">确认发货</button></div>
</article>
</body>
</html>
